﻿using System;
using System.Collections.Generic;
using System.Text;
using Ultimus.WFServer;
using System.Data;
using MyLib.Utils;
using Task.Entity;

namespace Task.Interface
{
    public interface ITask
    {
        List<TaskEntity> GetMyTask(string filter, int skipResults, int maxResults);
        int GetMyTaskCount(string filter);

        List<TaskEntity> GetMyApproval(string filter, int skipResults, int maxResults);
        int GetMyApprovalCount(string filter);

        List<TaskEntity> GetMyRequest(string filter, int skipResults, int maxResults);
        int GetMyRequestCount(string filter);

        TaskEntity GetEntity(string taskID);

        string GetTaskUrl(string taskID,string userName);

        List<ProcessEntity> GetProcessList(string userName);
    }
}
